package com.dongdongshop.mapper;

import com.dongdongshop.operator.pojo.TbSpecification;
import com.dongdongshop.operator.pojo.TbSpecificationExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbSpecificationMapper {
    int countByExample(TbSpecificationExample example);

    int deleteByExample(TbSpecificationExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TbSpecification record);

    int insertSelective(TbSpecification record);

    List<TbSpecification> selectByExample(TbSpecificationExample example);

    TbSpecification selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TbSpecification record, @Param("example") TbSpecificationExample example);

    int updateByExample(@Param("record") TbSpecification record, @Param("example") TbSpecificationExample example);

    int updateByPrimaryKeySelective(TbSpecification record);

    int updateByPrimaryKey(TbSpecification record);

    List<TbSpecification> getByid(@Param("id") Long id);

    void deletesSpecification(@Param("ids") Long[] ids);

    void addSpecification(TbSpecification specification);

    List<TbSpecification> getSpecification(@Param("specName") String specName);
}